FROM openjdk:8-jre

MAINTAINER yuchen <740350460@qq.com>

RUN mkdir /app

COPY hw-server-gateway-1.0.0-SNAPSHOT.jar /app/app.jar

ENTRYPOINT [ "java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/app/app.jar","--spring.profiles.active=dev"]

EXPOSE 9999